package com.kfyang.manualgear.dao;

import com.kfyang.manualgear.annotation.Dao;
import com.kfyang.manualgear.entity.TimeDeleteEntity;

import java.util.List;

@Dao(entity = TimeDeleteEntity.class)
public interface TimeDeleteDao {
    TimeDeleteEntity selectById(int id);

    List<TimeDeleteEntity> selectAll();

    int insert(TimeDeleteEntity entity);

    int insertAll(List<TimeDeleteEntity> entityList);

    int update(TimeDeleteEntity entity);

    int deleteById(int id);

    int deleteByIds(List<Integer> ids);
}
